package com.ark.cloud.dataservices.auth.service;


import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface IAuthenticationService {
    /**
     * 调用签权服务，判断用户是否有权限
     *
     *
     * @param request
     * @param response
     * @param authentication
     * @param url
     * @param method
     * @return Result
     */
    void authenticate(HttpServletRequest request, HttpServletResponse response, String authentication, String url, String method) throws ServletException, IOException;
}
